/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.pbv.azsg.domain;

/**
 *
 * @author pbv
 */
public enum Fuel {
    DT  ( 50, "ДТ"    ),
    A76 ( 76, "А-76"  ),
    A80 ( 80, "А-80"  ),
    AI92( 92, "АИ-92" ),
    AI95( 95, "АИ-95" ),
    AI98( 98, "АИ-98" );

    private final int       id;
    private final String    description;

    Fuel( int id, String description ){
        this.id             = id;
        this.description    = description;
    }
    
    public int id(){    
        return this.id;
    }
    
    public String description(){
        return this.description;
    }
    
    public String toString(){
        return String.valueOf( this.id );
    }    
    
}
